//基本展示数据
const basicInfoData = {

}

//表头数据
const tableHeader = [{
		prop: 'codingOfOldGoods',
		label: '旧商品编码',
		width: '',
		show: true,
	},
	{
		prop: 'tradeName',
		label: '商品名称',
		width: '',
		show: false,
	},
	{
		prop: 'commodityType',
		label: '商品类型',
		width: '',
		show: true,
	},
	{
		prop: 'commodityGroup',
		label: '商品组',
		width: '',
		show: true,
	},
	{
		prop: 'category',
		label: '品类',
		width: '',
		show: true,
	},
	{
		prop: 'styleNumber',
		label: '款式号',
		width: '',
		show: true,
	},
	{
		prop: 'styleName',
		label: '款式名称',
		width: '',
		show: true,
	},
	{
		prop: 'salesClassification',
		label: '销售分类',
		width: '',
		show: true,
	},
	{
		prop: 'series',
		label: '系列',
		width: '',
		show: true,
	},
	{
		prop: 'basicUnitOfMeasurement',
		label: '计量单位',
		width: '',
		show: true,
	},
	{
		prop: 'tag',
		label: '标签',
		width: '',
		show: true,
	},
	/*{
		prop:'batchNumber',
		label:'批次号',
		width:'',
		show:true,
	},
	{
		prop:'isThereAQualityInspection',
		label:'是否质检',
		width:'',
		show:true,
	},
	{
		prop:'maintenanceOrNot',
		label:'是否维修货',
		width:'',
		show:true,
	},*/
	{
		prop: 'isCombinationGoods',
		label: '是否组合商品',
		width: '',
		show: true,
	},
	{
		prop: 'isCustomized',
		label: '是否可定制',
		width: '',
		show: true,
	},
	{
		prop: 'isLettering',
		label: '是否可刻字',
		width: '',
		show: true,
	},
	{
		prop: 'isItWellMatched',
		label: '是否高配',
		width: '',
		show: true,
	},
	{
		prop: 'isThereAVersion',
		label: '是否有版',
		width: '',
		show: true,
	}
]

const tableData = []

//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total: 1,
	num1: 1,
	num2: 1
}

//表单组件数据
const filterOption = {
	items: [{
			label: '商品编码',
			type: "input",
			key: "commodityCode",
			method: "input",
			placeholder: '',
			value: undefined
		},
		{
			label: '旧商品编码',
			type: "input",
			key: "codingOfOldGoods",
			method: "input",
			placeholder: '',
			value: undefined
		},
		{
			label: "销售分类",
			type: "dropdown",
			key: "salesClassification",
			filterable: true,
			data: [

			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "商品类型",
			type: "dropdown",
			key: "commodityType",
			filterable: true,
			data: [

			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "品类",
			type: "dropdown",
			key: "category",
			filterable: true,
			data: [

			],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "商品标签",
			type: "dropdown",
			key: "tagGroupId",
			filterable: true,
			data: [],
			placeholder: '请选择',
			value: undefined
		},
		{
			label: "是否有版",
			type: "dropdown",
			filterable: true,
			key: "isThereAVersion",
			data: [{
					label: '是',
					value: '1'
				},
				{
					label: '否',
					value: '0'
				}
			],
			placeholder: '请选择',
			value: undefined
		},
		/* {
		     label: "是否质检",
		     type: "dropdown",
		     filterable:true,
		     key: "isThereAQualityInspection",
		     data: [
		     	{
		     		label:'是',
		     		value:'1'
		     	},
		     	{
		     		label:'否',
		     		value:'0'
		     	}
		     ],
		     placeholder: '请选择',
		     value: undefined
		 },*/
		{
			label: "款式名称",
			type: "dropdown",
			filterable: true,
			filterable: true,
			key: "styleNumber",
			data: [

			],
			placeholder: '请选择',
			value: undefined
		},


	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清空",
			type: "clear"
		}
	],
	// close:true
}
let Model = {
	data() {
		return {
			Model: {
				paginationObject: paginationObject, //分页数据
				tableHeaderData: tableHeader, //表头数据
				tableData: tableData, //表格内容数据
				seachObj: {}, //搜索 查询条件对象
				filterOption: filterOption, //表单数据
			}
		}
	}
}
export default Model;
